<?php
class ui_circle_action_disfollow extends ui {
	/**
	 * @param unknown_type $S
	 * @param unknown_type $param = array (
	 * 		id			// circle id
	 * )
	 */
	public function __construct($S, $param) {
		parent::__construct();
		
		$data_circle = new data_circle();
		$data = $data_circle->exit_follower($this->uid, $param['id']);
		
		if ($data) {
			$S->assign('data', 'true');
		} else {
			$S->assign('data', 'false');
		}
	}
}
?>